import request from '@/utils/request'

export function addMemberRecord(data) {
  return request({
    url: '/authcenter/sys-role-member/add',
    method: 'post',
    data
  })
}

export function findMemberRecord(page,size,roleId) {
    return request({
      url: '/authcenter/sys-role-member/findPage',
      method: 'get',
      params: {page: page,size: size,roleId: roleId}
    })
}

export function delMemberRecord(id) {
  return request({
    url: '/authcenter/sys-role-member/del',
    method: 'delete',
    params: {id: id}
  })
}
